public class GFtest {
    public static void main(String[] args) {
        GF gf1=new GF();
        gf1.setAge(18);
        gf1.setGender("女");
        gf1.setName("小诗");

        System.out.println(gf1.getAge());
        System.out.println(gf1.getGender());
        System.out.println(gf1.getName());

        gf1.eat();
        gf1.sleep();
    }
}
